package com.bwie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bwie.domain.TbRepair;
import com.bwie.vo.DataListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TbRepairMapper  extends BaseMapper<TbRepair>{
    List<DataListVo> getRepairCountByWeek();
    Page<TbRepair> getRepairList(@Param("page") Page<TbRepair> page,
                                 @Param("userId") Integer userId,
                                 @Param("keyWord") String keyWord,
                                 @Param("typeId") Integer typeId,
                                 @Param("status") Integer status

    );
}
